package com.sos.comm
{
	import flash.events.Event;

	public class CallSequenceEvent extends Event
	{
		
		// -------------------------------------------------------------------------------
		// CONSTANTS
		// -------------------------------------------------------------------------------
		
		// Events
		public static const		STATUS_CHANGED:String		= "sequence_status_changed";
		public static const		START:String				= "sequence_start";
		public static const		STOP:String					= "sequence_stop";
		
		// -------------------------------------------------------------------------------
		// FIELDS
		// -------------------------------------------------------------------------------
		
		private var _sequence:CallSequence;

		// -------------------------------------------------------------------------------
		// CONSTRUCTOR
		// -------------------------------------------------------------------------------
		
		public function CallSequenceEvent(type:String, sequence:CallSequence)
		{
			// ancestor constructor
			super(type); 
			// Initialization
			_sequence = sequence;
		}
		
		// -------------------------------------------------------------------------------
		// PROPERTIES
		// -------------------------------------------------------------------------------

		public function get sequence():CallSequence
		{
			return _sequence;
		}

	}
}